import Vue from 'vue'
import Router from 'vue-router'
import InfoModify from '@/components/InfoModify'
import InfoSearch from '@/components/InfoSearch'
import Priviate from '@/components/Priviate'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: ''
    },
    {
      path: '/modify',
      name: 'modify',
      component: InfoModify
    },
    {
      path: '/search',
      name: 'search',
      component: InfoSearch
    },
    {
      path: '/priviate',
      component: Priviate
    }
  ]
})
